<div class="filterBox">
    <div class="input-group date form_date inbox">
        <input class="form-control input-small" type="text" ng-model='start_date'/>
        <span class="input-group-addon"><span class="fa fa-calendar"></span></span>
    </div>
     <div class="to">
         <span> To </span>
     </div>
    <div class="input-group date form_date inbox">
        <input class="form-control input-small" type="text" ng-model='end_date'/>
        <span class="input-group-addon"><span class="fa fa-calendar"></span></span>
    </div>

    <div class="floats keywords lineHeight" ng-if='fb.show.keywords'>
	    <label for="kw"> Keywords : </label>
	    <input type="text" name="test" value="" ng-model='fb.keywords' placeholder="员工号，姓名"/>
    </div>
    <div class="md-checkbox-inline floats">
        <div class="md-checkbox" ng-if='fb.show.workday'>
            <input type="checkbox" id="checkbox1" class="md-check" ng-model='fb.workday'>
            <label for="checkbox1">
                <span></span>
                <span class="check"></span>
                <span class="box"></span>
                工作日 </label>
        </div>
        <div class="md-checkbox" ng-if='fb.show.restday'>
            <input type="checkbox" id="checkbox2" class="md-check" ng-model='fb.restday'>
            <label for="checkbox2">
                <span></span>
                <span class="check"></span>
                <span class="box"></span>
                非工作日 </label>
        </div>
    </div>
    <!--<div class="floats lineHeight margin15" ng-if='fb.show.workday'>-->
        <!--<label>-->
       <!--<input type="checkbox" name="test" value="" ng-model='fb.workday'/> 工作日</label>-->
    <!--</div>-->
    <!--<div class="floats lineHeight margin15" ng-if='fb.show.restday'>-->
	    <!--<input type="checkbox" name="test" value="" ng-model='fb.restday'/> 非工作日-->
    <!--</div>-->
    <div class="md-checkbox-inline floats">
        <div class="md-checkbox"  ng-if='fb.show.only_valid'>
            <input type="checkbox" id="checkbox3" class="md-check" ng-model='fb.only_valid'>
            <label for="checkbox3">
                <span></span>
                <span class="check"></span>
                <span class="box"></span>
                只搜索有效期内 </label>
        </div>
    </div>

    <!--<div class="floats lineHeight" ng-if='fb.show.only_valid'>-->
	    <!--<input type="checkbox" name="test" value="" ng-model='fb.only_valid'/>只搜索有效期内-->
    <!--</div>-->
    <!--<div ng-if='fb.show.annual_'>
	    <input type="checkbox" name="test" value="" ng-model='fb.workday'/>工作日
    </div>
    <div ng-if='fb.show.restday'>
	    <input type="checkbox" name="test" value="" ng-model='fb.restday'/>非工作日
    </div>-->
    
    <div class="btnBox">
        <button class="btn btn-md green-meadow table-group-action-submit" ng-click='search(start_date,end_date,fb)'>Search</button><span class='fa fa-spinner fa-spin' ng-show='fb.uploading'></span>
    </div>
</div>
 <div class="clearfix"></div>

<script type="text/javascript">

$(function(){

    $('.form_date').datetimepicker({
        format: "yyyy-mm-dd",
        weekStart: 1,
        todayBtn: 1,
        autoclose: 1,
        todayHighlight: 1,
        startView: 2,
        minView: 2,
        forceParse: 0,
        showMeridian: 1
    });
})

</script>